Uniqueness results for a class of nonlinear problems