[qtcontacts-sqlite] Handle ID conversion correctly

Pass the ID value correctly through toString/fromString.