Meritocracy In Autocracies: Origins And Consequences