code: public static List<String> getAllIDs(IReactionScheme scheme) {
          List<String> IDlist = new ArrayList<String>();
          if (scheme.getID() != null) IDlist.add(scheme.getID());
          for (IReaction reaction : scheme.reactions()) {
              IDlist.addAll(ReactionManipulator.getAllIDs(reaction));
          }
          if (scheme.getReactionSchemeCount() != 0) for (IReactionScheme rs : scheme.reactionSchemes()) {
              IDlist.addAll(getAllIDs(rs));
          }
          return IDlist;
      }
docs: Get all ID of this IReactionSet.
  
  @param scheme  The IReactionScheme to analyze
  @return        A List with all ID