category name validation.