getTip() by tag

Hello,

I added a way to get the tip through a tag.

Could you consider this patch, or could you tell me if you have a better/cleaner way to do that ?

Thank you,
Adam Etienne