Make SlotIdentifier not inherit from Identifier

o Introduce helpers for rewriting expressions and query tokens
o GDSTestBase: Rename planContext to createPlanContext