The Cognitive Basis of Uncertainty