Factor out convert(Binding, NodeTable) -> BindingNodeId