add components comparator for Entity IDs