Reward from public office, and the selection of politicians by parties