In normal cases that means that your TeamViewer has no access to the internet. So it can not reach the master server to retrieve an ID.
When I installed TeamViewer, the Id's is not showing. So my question is to you what is the reason behind it.