The Secrets of Scheherazade: Toward a Functional Analysis of Imaginative Literature