Make attribute validation case-insensitive