[ios] Add, as a last resort, the creation of the hash based on it's type name. Needed for some API (which provides it) and the associated unit tests