support criteria on id field
exclude criteria when parsing pk. criteria on id field with '>', '<', '>=', '<=' should work now.
Merge pull request #1759 from clarkorz/criteria-on-id

support criteria on id field