Disallow blank names in BaseNameMixin. Fixes #44