Return the id of the current selection if the selection is defined, and -1 otherwise.
Declared in <baljsn_encoder_testtypes.h>
<baljsn_encoder_testtypes.h>
int selectionId() const;