ShortID Implementation