A Favorite Data Structure « Rotten Cotton http://www.onebadseed.com/blog/?p=80
Ullman Set: position[members[i]] = i
Ullman set, an excellent tutorial