Toward a unifying framework for the modeling and identification of motor primitives