Foreign names and package scopes: shadowing at format boundaries; packages installed, enabled per scope