Do not use `id` as object or function name. It's might confuse with built-in python `id` function. Can you use plural `ids`?