Add missing ids.