Learned Principles of Organization in Memory