Optimize field filters

The first patch in this set makes the `parse_field` function much faster in the case where the user-supplied field name does not have any escaped characters. The second patch halves the number of invocations of the `parse_field` function.