Removed encode_id and decode_id methods

It was decided to not to encode the ids for the api. Also, the encode_id/decode_id as methods were bad idea.