Ernest Gellner — a Jew who escaped from Czechoslovakia in 1939 after Hitler invaded — knew first-hand the catastrophic effects of excessive nationalism, and he was determined to understand the phenomenon that had shaped so much of 20th century history.