1.8 compatibility for Hash#key