code: def addLNT(LocalName, phenoId, predicate, g=None):  # XXX deprecated
      
      if g is None:
          s = inspect.stack(0)  # horribly inefficient
          checkCalledInside('LocalNameManager', s)
          g = s[1][0].f_locals  # get globals of calling scope
      addLN(LocalName, Phenotype(phenoId, predicate), g)
docs: Add a local name for a phenotype from a pair of identifiers