MDL-21781 fixed idnumber validation - thanks David for spotting the problem