In a large US urban district with a strong differentiation philosophy and a very robust magnet system, we see a lot of these "perfect world" effects self-select. There are of course the private schools drawing off the highest ses, and the three public IB middle schools designated for gifted track are located in a low, middle, and high income area. And there is an HG program located at one of the schools.