// mixed. This is legacy support to match the pre beehive behavior.
String idScript = null;
IScriptReporter scriptReporter = getScriptReporter();
ScriptRequestState srs = ScriptRequestState.getScriptRequestState(request);
if (TagConfig.isLegacyJavaScript()) {
idScript = srs.mapLegacyTagId(scriptReporter, id, _state.id);
}
// map the tagId to the real id
if (TagConfig.isDefaultJavaScript()) {
String script = srs.mapTagId(scriptReporter, id, _state.id, _state.name);