Impl. getKeyByValue() for associative arrays