Using a constrained Name for namespaces names

This is in preparation of the `DirPath/FilePath` update.
Also going forward, we need to remove support for '-'.