added parameter for passing the group and the protocol to get_client_id_from_model_id() method. This is not compatible with most of the databases and needs a fix
Added hot-fix to make the tests pass again (see #5).