Validate name in tag model.