reconcile id-or-map code.