* added definitions for complexType, complextContext, extension
* fixed logic that handles similar aliases mapped to different namespaces