Assign internal ID when record creation is successful