Allow setting id in title widget

I think it would be useful to be able to set id in title widget, so one can create relative links (for example in table of contents)