'Qualify the name as either:
- plain name
- ns prefixed name (eg: ns0:Person)
- fully ns qualified name (eg: {http://myns-uri}Person)
@param name: The name of an object in the schema.
@type name: str
@return: A qualifed name.
@rtype: qname'

def qualify(self, name):

    m = self.altp.match(name)
    if (m is None):
        return qualify(name, self.wsdl.root, self.wsdl.tns)
    else:
        return (m.group(4), m.group(2))
