Common API: CPP: Remember tab id at setCallback in MethodResult