A Model of Historical Thinking