How can the TNS connect identifier passed to SQL*Plus be accessed from the run script for reconnecting?
Sure, pass it as a parameter too.

sqlplus MY_USER/pswd@TNSID @script.sql TNSID par2 par3


Then you can use the below in the script:

connect MY_USER2/pswd@&amp;1