function idToReference(id, quoteSymbol) {
  quoteSymbol = quoteSymbol ? quoteSymbol : '';
  return 'url(' + quoteSymbol + '#' + id + quoteSymbol + ')';
}
Get functional IRI reference for given ID of fragment within current document.

@param {string} id
@param {string} [quoteSymbol='']

@return {string}