Implement and add tests for the id() builtin function.