Identification of piecewise affine models in noisy environment