S        This expression returns the unique ID of the currently selected peer in the currently selected channel.

If no peer is selected, -1 will be returned.

The ID will be between 0 and 65535, inclusive. The ID is assigned to the peer on connect, and is not used by any other peer until the owning peer disconnects.