Validate category name length