A theory of relation learning and cross-domain generalization.