Fix Ref identifier
Fix Ref identifier

A Ref has a refid, which indicates the element to which it is referring.
Unlike id attributes, refid does not need to be unique per document.
ocpsoft/rewrite,ocpsoft/rewrite,ocpsoft/rewrite,ocpsoft/rewrite,ocpsoft/rewrite