Laying the foundations for foundation models of cognitive science