Fix #7854

- label `comprehensions`
- add cross-reference in section about scoping in for loops and
  comprehensions