Inline aliased identifiers into node and relationship patterns

This improves on the number of cases where we can actually inline thus allowing us to plan larger query parts all at once