Use shortids for models, hashid

Signed-off-by: A. van der Pluijm <info@urbanlink.nl>