Using a constrained Name for namespaces names

This is in preparation of the `DirPath/FilePath` update.
I don't think this will be good for performance. This parser is called for every fact when importing and parsing the same namespace each time will add up as there can be millions of facts.