Fix endianness for id_ca