Encodes UUID into string of 22 or 26 characters, and vice versa.