code: function getInstanceNameFromElement(element) {
    let nameFromName = getAttribute(element, 'name');
  
    if (nameFromName !== null && nameFromName !== undefined && nameFromName !== '')
      return nameFromName;
    else
      return null;
  }
docs: Gets the instance name from a DOM element.
  
  @param {Node} element - The DOM element.
  
  @return {string} The instance name.
  
  @alias module:requiem~helpers.getInstanceNameFromElement