code: def path(self):
          "Returns the path up to the root for the current node."
          if self.parent:
              return '.'.join([self.parent.path, str(self.identifier)])
          else:
              return self.identifier if self.identifier else self.__class__.__name_f path(self):
          "Returns the path up to the root for the current node."
          if self.parent:
              return '.'.join([self.parent.path, str(self.identifier)])
          else:
              return self.identifier if self.identifier else self.__class__.__name__
docs: Returns the path up to the root for the current node.