"allegory" was the first single word that came to my mind, but it may not have quite the sense you want. You're aware of the common expression "hidden meaning"? I'm not clear what part of speech you're after.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.