add relation attribute to SelectAnalysis

The AnalyzedQuerySpecification isn't fully integrated into the Analyzer yet,
but this commit should make it possible to already adopt parts in the planner.
maybe change the name too