Volume namespaces - fixes 771

Fixes #771.

Some temporary code is in place so this doesn't break the rest of the system.
Should there be validation for the allowed characters of the `id` attribute too? Maybe a followup ticket with a link here.