idAsIndex should be true with a smallint id field.