added an ability to add inserted id to the model.