Text this: The dream that never dies: the ideals and realities of cosmopolitanism in science, 1870–1940