updated auto TOC to only set element ID if element does not already have ID (now plays nice with maketoc)

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@48442 b456876b-0849-0410-b77d-98878d47e9d5
[ENH] Bootstrapping the edit article page

git-svn-id: file:///var/local/code.tiki.org/tikisvn/trunk@48443 b456876b-0849-0410-b77d-98878d47e9d5