Default id to integer.