Validation of name.