Added the custom id support to postgresql.
Merge pull request #1 from mcollina/custom-id

Support for custom id by passing id$ during save