Make select() behave the same way as get_array(), returning an array with PKs as keys