Don't allow empty name for namespaces

Fixes #21