Metaphorical classes arise from different analytical dimensions. One may ask whether the shared respect is sensory or conceptual, whether the borrowed expression is an underived noun or a derivative, or whether related expressions accompany it.
Calling a luminous face a sun can emphasize visible brilliance. Calling a distinguished benefactor a sun can concern eminence and broad benefit.
The borrowed noun is the same, but its operative resemblance and rhetorical purpose depend on context.