Popular sovereignty in historical perspective