The contextual indicator and resemblance relation have exactly the same function in metaphor.

Istiʿārah: Definition, Figurative Identification and the Linguistic–Intellectual Debate