code: function (src) {
              return can.map(src.toString().split(/\/|\./g), function (part) {
                  // Dont include empty strings in toId functions
                  if (part) {
                      return part;
                  }
              }).join("_");
          }
docs: Convert a path like string into something that's ok for an `element` ID.