cache platform in a local variable
add support for the IDENTITY generator strategy

Tested and implemented for postgreSQL only.
Merge pull request #4 from greg0ire/identity_generator_strategy_support

Identity generator strategy support