NOTICE: I've abandoned this project quite some time ago, as I quit WoW in 2019. Should be functional (though a bit bare-bones) but if anyone wants to develope this any further, go ahead.
Set notes on players or NPCs by right-clicking their character icons, shift-clicking their name in chat or by typing /tn in chat. The note is then displayed in the mouseover tooltip.
This is a very bare-bones version and I'm planning to add more quality of life improvements when I can.