Add class-level #tracked_field? and #tracked_fields methods; refactor logic to determine whether a field is tracked