Register Primary key field name

-Use model for Primary key field name
-Replace all 'ID' instances in queries with
dbs[collectionName].definition.primaryKeyName