Update degrees to have an encoded id.
Add ID to degrees, base64 encoding of their names.