swh.model.identifier: Improve persistent identifier representation
As per https://forge.softwareheritage.org/#1104 comment, the actual dict representation is limited.
As discussed in #1104 (closed), a named tuple seems more adequate for representing a parsed identifier.
Related #1104 (closed)
Migrated from T1112 (view on Phabricator)
Edited by Phabricator Migration user