Using a constrained Name for namespaces names

This is in preparation of the `DirPath/FilePath` update.
Probably shouldn't be unsafe, given it is user input.