Identification of nonlinear systems and optimality analysis in Sobolev spaces