Procedure to transform any namespace divided by certain characters into dasherize form.