Uniqueness and localization. Part. I - Associative and non-associative elastoplasticity