pub fn resolve_transient_ids<N>(
    allocation: &BTreeMap<GlobalId, GlobalId>,
    node: N
) -> Result<N::Folded, PlanError>where
    N: FoldNode<Aug, Aug>,