fix slugid implementation

It's not an encoding of the string... but of the bytes...