Minds, groups, and populations : harnessing the latent structure of social information