How to change Teamviewer ID after cloning
Close TeamViewer. Then run in the terminal:
sudo teamviewer --daemon stop
sudo rm -f /opt/teamviewer9/config/global.conf
sudo teamviewer --daemon start
Edit: I checked, and TeamViewer also looks at your MAC address. It probably works like this. When you first start TeamViewer (with no configuration files available), it looks up your MAC address. If it is not known by TV, it creates a new TeamViewer ID and associates your MAC address with it. If the MAC address is known, you get the teamviewer ID associated with it.
So, if you clone to a new computer, the commands above would help you get a new ID. If you use them on the original computer, you'll get the same ID.
None of the previous suggestions worked in my case. The quickest and most effective solution I found was to re-install TeamViewer fresh (after uninstall and deletion of config files in Library/Preferences) from an alternative new user account, that solved it immediately.