code: function() {
        var localStorage = root.localStorage;
        if (!hostName) {
          if (localStorage) {hostName = localStorage.hostName;}
          hostName = hostName || Monitor.generateUniqueId();
          if (localStorage) {localStorage.hostName = hostName;}
        }
        return hostName;
      }
docs: Return a stable host name.
  
  @method getHostName
  @protected
  @return hostName {String} - The platform's host name, or an otherwise stable ID