An effective nonlinear boundary condition for a corroding surface. Identification of the damage based on steady state electric data