Ernest Gellner and Modernity