cleanup
CAY-1958 SelectById - a new full-featured select query to get objects by id

* renaming IdSelect to more readable SelectById
* unit tests
cleanup