Text this: Liberalism and republicanism in the historical imagination