mod_survey: Return the (possibly generated) submission id, after insert