Class identity during the 1917 Russian Revolution