getElementIDFromURL() {
    const baseURL = this.getComponentBaseURL();
    const elementId = window.location.href.replace(baseURL + this.routePrefix, '');
    return elementId;
  }
From the URL return the ID of the element whether it is in the hash or if used a router prefix without a hash