Memory: its rationality and its role in pragmatics and categorisation