Legacy database wrapper was not supporting this properly supporting the use case where `model_id<>client_id`
Making the bob.bio.base database interface support samplesets where the reference_id is different from subject_id. There are some databases protocols that needs such support. Furthermore the legacy database interface was not supporting this properly
ping @mguenther