Validate name length