The Frisch scheme in algebraic and dynamic identification problems