Change un/dasherize methods to work with namespaces