Use `ConstGenericWithId` instead of free standing x_typeexprid
!356 (merged) introduces ConstGenericWithId
as a structured way to associate a TypedExpression with a const generic. This should be used consistently, especially with the const generics in pipeline stages etc.