Use the fetch method to set the new id after saving.