remove unused function

Hi, the function dictIdentityHashFunction is not used in any of the project, so I am deleting it. Thanks