getID function added in conSQL