Add id to model on insert/create

*if is auto assigned by the db so we have to add it to the model after insert
*update tests to use the id