code: function(evt) {
          var featureId = OpenLayers.Renderer.Elements.prototype.getFeatureIdFromEvent.apply(this, arguments);
          if(!featureId) {
              var target = evt.target;
              featureId = target.parentNode && target != this.rendererRoot ?
                  target.parentNode._featureId : undefined;
          }
          return featureId;
      }
docs: Method: getFeatureIdFromEvent
  
  Parameters:
  evt - {Object} An <OpenLayers.Event> object
  
  Returns:
  {String} A feature id or undefined.