Portia, from The Merchant of Venice (3.4.10-23). If Antonio = Bassanio and Bassanio = Portia then Antonio = Portia. I wish I’d made notes on or could remember other instances of this logic in Shakespeare. My casual sense is that it’s pretty rare and usually limited to abstract qualities so extending it to people might be a unique use – though maybe less bold a reach if you take ‘soul’ as essentially an abstract.
I never did repent for doing good,
Nor shall not now: for in companions
That do converse and waste the time together,
Whose souls do bear an equal yoke of love,
There must be needs a like proportion
Of lineaments, of manners and of spirit;
Which makes me think that this Antonio,
Being the bosom lover of my lord,
Must needs be like my lord. If it be so,
How little is the cost I have bestow’d
In purchasing the semblance of my soul
From out the state of hellish misery!
This comes too near the praising of myself;
Therefore no more of it: