There's an internal "listKey" that gets parsed like this,
ve.dm.MWReferenceNode.static.listKeyRegex = /^(auto|literal)\/([\s\S]*)$/;
Instead, split usages to:
- Test dataElement.attributes.name to determine if this is a named ref.
- All refs should have a unique ID that is monotonically incrementing. Decide how this looks for reuses.