Mechanist and organicist parallels between theories of memory and science