People's history and socialist theory