Since $STY is not set yet when screen sources .screenrc, you can use this trick in your .screenrc:

screen

screen $SHELL -c ‘screen -X caption always “$STY”‘

I.e. send a screen command to the first window.

via

how to include screen’s session name in hardstatus? – Super User.

Annunci