Added id32 method and unittest