chore(namespaces): more fixes for code inside namespaces

Yes, also understands `use` aliases. What I haven't verified is if phpDocumentor and/or Doxygen understands that.