Introduce an IDValueSnakFormatter (for datatype "ID", for HTML; perhaps we also need an implementation for wikitext output) which uses a lookup service to get the formatter URL to use for linking IDs associated with a specific property. IDValueSnakFormatter could in the future take advantage of derived values (the full URL) being present in the PropertyValueSnak, if/when this is implemented (see T112550).
IDValueSnakFormatter may or may not use a ValueFormatter internally.