Get a hashcode of an element.
The hashcode should be compatible with equals, so that if equals(a, b) then hash(a) == hash(b).
equals(a, b)
hash(a) == hash(b)
int hash(String string) => hashIgnoreAsciiCase(string);