chore: create return type-hints for get_id() & encoded_id
#1841
+6
−3
get_id() & encoded_id
#1841