For Windows systems specifically, Lansweeper does provide an option to detect when a computer has been renamed.
You can find more information here: Windows rename detection
This page will describe how this works and the information used to determine which computer was renamed.