I think you raise a bigger question here that some targeted re-factoring can address due to our duplication of validation code in a few areas. I have started this effort by beginning to create tests prior to re-factoring. The role name validation has to match the username validation character wise due to self roles currently. And I'd rather not include re-factoring in a bug fix.