Register Primary key field name

-Register Primary key fieldname
-Replace all ID instances in query with
dbs[collectionName].definition.primaryKeyName