code: def _notify_thing_lid_change(self, from_lid, to_lid):
          
          try:
              with self.__private_things:
                  self.__private_things[to_lid] = self.__private_things.pop(from_lid)
          except KeyError:
              logger.warning('Thing %s renamed (to %s), but not in private lookup table', from_lid, to_lid)
          else:
              # renaming could happen before get_thing is called on the original
              try:
                  with self.__new_things:
                      self.__new_things[to_lid] = self.__new_things.pop(from_lid)
              except KeyError:
                  pass
docs: Used by Thing instances to indicate that a rename operation has happened