An Internal Variable Theory of Inelastic Behaviour derived from the Uniaxial Rigid-Perfectly Plastic Law