2.1 Label scan support for new planner [merge after 2.1 Introduce token ids into the ast and resolve them for Ronja]