`select` event now returns the original type of the id, not the stringfied ids
Splitted function `select` into `getSelection` and `setSelection`