Ensure "id" exists