Use a unified NameSpace when possible

When extracting metadata from a NameSpace node, prefer the unified
version of the node which contains more comprehensive information.

This allows for more accurate completion results and enables completion
for data types defined in source files other than the one currently
being edited.