Validate name for category