Self-Selection in Anonymous Environments