code: def find_local_id(self, name_id):
          
  
          try:
              return self.db[name_id.text]
          except KeyError:
              logger.debug("name: %s", name_id.text)
              #logger.debug("id sub keys: %s", self.subkeys())
              return None
docs: Only find persistent IDs
  
          :param name_id:
          :return: