Add a method to help with filter/field iteration

- Add explanatory comments
No need to test the IDX case in this branch, BTW -- testing support for IDX= should definitely be a separate ticket, since there will almost certainly be chaos / breakage.