'Get the attributes namespace.  This may either be the namespace
defined by an optional prefix, or its parent\'s namespace.
@return: The attribute\'s namespace
@rtype: (I{prefix}, I{name})'

def namespace(self):

    if (self.prefix is None):
        return Namespace.default
    else:
        return self.resolvePrefix(self.prefix)
