SQLite lib can return ID's more accurately.

Still to come:
Warn or return array if multiple IDs are found per clause.