A Content Theory of Memory Indexing