Allows to set the id on record creation