Add a method to help with filter/field iteration

- Add explanatory comments
doxygen for id_field_end() itself should be brief -- one-line description, plus this example for-loop showing how to iterate over fields by index