sS agiBlue_sliceID(S nameOrID) { S id = agiBlue_sliceForName(nameOrID); if (id != null) ret id; if (possibleGlobalID(nameOrID)) ret nameOrID; fail("Slice not found: " + nameOrID); }