rename tag --> table id

http://manage.dimagi.com/default.asp?119249