An uncoupling method for linear system identification