Add change_id_for().
Finish testing SQLite.