code: function (mehegan, cache) {
    if (mehegan instanceof Mehegan) return mehegan;
  
    // If no cache is provided, return string as Mehegan symbol
    if (!cache) return fromString(mehegan);
  
    // Otherwise, try to retrieve symbol from cache, creating a new symbol if it's not found
    if (!cache[mehegan]) cache[mehegan] = fromString(mehegan);
    return cache[mehegan];
  }
docs: Given a Mehegan symbol, return the Mehegan symbol Given a Mehegan string, return it as a Mehegan symbol If a cache is given, will store and retrieve symbols based on string