The prehistory of mathematical structuralism