[fix] Add correct validations to name and subdomain property

@blakmatrix this should address the name validation problems, Do we need more test cases?