Refactor ID seek plans and pipes to carry over a sequence of expressions

This vastly simplifies the leaf planner and the pipes to some extent