Add functions to check field names. Closes #1.