Several id and link tag fixes

Per changes noted in http://tt-rss.org/forum/viewtopic.php?f=16&t=2229&p=12950#p12950