Tweak dictionary-lookup example to work correctly without using IDs.