properly model type reference target as referencing either types or namespaces