change entity id hash function for local storage

Jeremie Hallal requested to merge persist_data_local_storage into master

in order to persist bulk data the hash function needs to be changed to give the same result between instances of the service

Merge request reports