code: def name(self, name):
          
          from_name = self.name
          assert isinstance(name, str)
          self._name = name
          if self.has_parent():
              self._parent_._name_changed(self, from_name)
docs: Set the name of this object.
          Tell the parent if the name has changed.