Implement methods GlobalIdSet::id and LocalIdSet::id for grid edges