Gets the state's ID.
The ID is the state's unique identifier. It is used when selecting the state using the $w() function.
$w()
An state's id is set in the Editor using the Properties panel. To set the state id:
id