converts camelCase or - to underscore in tags