int[] ids = new int[3];
ids[1] = symbolTable.get(unit.getName());
if (unit.isContextDependent()) {
LeftRightContext context = (LeftRightContext) unit.getContext();
Unit left = context.getLeftContext()[0];
Unit right = context.getRightContext()[0];
ids[0] = symbolTable.get(left.getName());
ids[2] = symbolTable.get(right.getName());
} else {
ids[0] = symbolTable.get("SIL");
ids[2] = symbolTable.get("SIL");