code: def rename(self, name):
          
          if name is None:
              raise Exception("name (%s) not-valid" % (name,))
          self.prefix, self.name = splitPrefix(name)
docs: Rename the element.
  
          @param name: A new name for the element.
          @type name: basestring