Apparatus specially adapted for use in combinatorial chemistry or with libraries