Defined HFacet type which encodes the entityID and the local id. This optimizes the memory requirement of the HF-maps