I learned an important lesson yesterday, again, on working with tabs with Dynamics CRM forms.
Note: Tabs are numbered starting with zero for the first tab.
Or by name, like this:
By using the name of the tab, you will always be referring to the same tab, no matter where it may be located on the form.
By the way, the same practice also applies to form Sections, which are named and referenced in a similar manner.