Rename id to id_num

id is a Python built-in function.