added functionality to name the scope of the tooltip.