Based them, in some way, on standardized test scores?
Standardized testing implies you really have to nail the test design, and be vigilant that people aren't working just to the metric, and aren't cheating. (Freakonomics has a chapter on how they caught cheaters in Chicago. Apparently they caught them in other cities too but didn't have the courage to fire them elsewhere.)