adding Name.hashCode()

This seems to be necessary to get hashmap equals to work