CDK-140: Add namespaces

It checks both namespace and name. Maybe this should be `checkDatasetNames`?