updated to handle services with objectId fields other than 'OBJECTID'

using query.objectIds will not return features for services that do not have an explicit 'OBJECTID' field