Fix performance bug, where a whole tree might end up with hashCode 0, by using hash of name as initial seed.
Correcting API usage according to @jurgenvinju.