Changed iterator so it can be used for queries

I originally added a field iterator for the field database to maintain
compatibility with the posted solution. However, in order to get the
identifiers for a given field i realized i needed to make it a
FieldFileNode iterator