added an ability to add inserted id to the model.
updated version to 0.2.7
fixed reference to global, updated version to 0.2.8
Merge pull request #1 from alexey-shaposhnikov/feature_local_id_in_created_model

added an ability to add inserted id to the model.