set exp/pattern id