def qualify(self, name):
m = self.altp.match(name)<EOL>if m is None:<EOL><INDENT>return qualify(name, self.wsdl.root, self.wsdl.tns)<EOL><DEDENT>else:<EOL><INDENT>return (m.group(<NUM_LIT:4>), m.group(<NUM_LIT:2>))<EOL><DEDENT>
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