docs: add id's to function types, so they can directly linked
Tplate class stores now id from model.html for documented functions
GUI: add hyperlinks to definition manager