Set sequential ID before validations