Simpler way to convert ECID to hex (no idea why i made it complicated)