Sugar: Switch from Guids to EntityIds

BUGGY: Changed applyOperatorEventMap and friends and now applying
operator on a hole result directly from the result list does not work