The concept of physical metric in rate-independent generalized plasticity