Setup data structures for scope ID checks. */ -- Bjoern A. Zeeb r15:7