code: def taxonomy_dict(self):
          
          # .taxonomy must be set by the engine
          tdict = {taxo: idx for idx, taxo in enumerate(self.taxonomy)}
          return tdict
docs: :returns: a dict taxonomy string -> taxonomy index