'Rename the element.
@param name: A new name for the element.
@type name: basestring'

def rename(self, name):

    if (name is None):
        raise Exception(('name    (%s)    not-valid' % name))
    else:
        (self.prefix, self.name) = splitPrefix(name)
