Using a constrained Name for namespaces names

This is in preparation of the `DirPath/FilePath` update.
It's a good idea to use ScalaCheck but I've been using it by generating arbitrary strings and checking that `nameFromString` returns the right thing.