switch separator to ~, make configurable

Also don't expect child namespaces to be ignored.

Closes #2

This will involve a major version bump.