Where does group solidarity come from? Gellner and Ibn Khaldun revisited · Study