Use swh.model.model helpers to compute object identifiers
This will allow us to change the signature of the `swh.model.identifiers` functions to use model objects directly instead of dicts.
This will allow us to change the signature of the `swh.model.identifiers` functions to use model objects directly instead of dicts.