Changed the way the bitlength in identifier encoding output is used to pad hex strings with zeros.