A "Summary" tab is now available at the top of the Template Editor. This summary will display a list of all the questions in the template as well as their associated IDs. This is a handy tab to keep open while you are encoding your document.
From this screen, you can click the icon indicated below to copy any ID to your clipboard and paste it directly into the document. Clicking the brackets will copy the ID and include the curly brackets on either side so you can just paste the full code into the document.
You will also notice that any table field types show up with the ID for the table and each of the ID's for the fields within the table. To learn more about how to display table data in your template documents you can check out this article: Data Table & Entity Question Types