Only warn about invalid TooltipId if it is non-empty.