I have just experienced a related problem recently. I am not sure if it is in the scope of your project, so I just mention it here.
Original problem: a reference is given in Wikidata as source of death, for example. It appears automatically in infobox.
Later in the article I need that for another purpose, and it will appear on tha pege twice.
Question: can we make it appear once?
Answer in huwiki: the link of Wikidata contains a hash, which can be used as <ref name="this-hash"/>.
New problem: whenever the source is edited in Wikidata, the hash regenerates, and the article will silently be spoiled. We can discover the error in ref name only accidentlly, and it is a head ache to guess the original.
Relation to this project: can we safely reuse the references originating from Wikidata? Can it offer a stable link?
Or should I write this to Wikidata mailing list?