Rework own identity selection algorithm to always find the best result.