identifiers: Add support for resolving core SWHID with uppercase chars
The following SWHIDs will now be resolved without error:
SWH:1:CNT:9BC077A025CBA4C5B3628B0EABB4D3AAC0F35C63
SWH:1:CNT:9BC077A025CBA4C5B3628B0EABB4D3AAC0F35C63;origin=https://github.com/git/git
Related to T3298
Migrated from D5649 (view on Phabricator)