Pass the model to getLastInsertId()
0.4.1