def METHOD_NAME(self):
    """
    Get the attribute's namespace. This may either be the namespace defined
    by an optional prefix, or the default namespace.
    @return: The attribute's namespace.
    @rtype: (I{prefix}, I{name})
    """
    if self.prefix is None:
        return Namespace.default
    return self.resolvePrefix(self.prefix)