Force id to be integer