code: def mnest_basename(self):
          
          if not hasattr(self, '_mnest_basename'):
              s = self.labelstring
              if s=='0_0':
                  s = 'single'
              elif s=='0_0-0_1':
                  s = 'binary'
              elif s=='0_0-0_1-0_2':
                  s = 'triple'
  
              s = '{}-{}'.format(self.ic.name, s)
              self._mnest_basename = os.path.join('chains', s+'-')
  
          if os.path.isabs(self._mnest_basename):
              return self._mnest_basename
          else:
              return os.path.join(self.directory, self._mnest_basename)
docs: Full path to basename