generate shorter backend ids