3rd party clients need to be able to refer to Wikidata items as well as their local items, which also have the form Q1234. In order to solve this issue, we need a way to represent "external" entities in our data model:
- implement EntityId as a wrapper around a URI (plus the entity type id).
- the serialization would be the full URI
- an external item would have the same type string, but not the same id class, as an internal item.