Fix `id` reference in dependency resolver.