Naive implementation of field names validation.