For handling names from different scopes.
<rdar://problem/114224001>
Pull request: https://github.com/WebKit/WebKit/pull/16906
Committed 267135@main (25f43abc6e10): <https://commits.webkit.org/267135@main> Reviewed commits have been landed. Closing PR #16906 and removing active labels.