Semi-parametric identification of manipulator dynamics in a time-varying environment