$post->id vs $post->ID problem after using WordPress config bootstrap

The WordPress-Config-Bootstrap is setting DEBUG to true on a local installation. If you try to define DEBUG again later you should get another error. The solution is not to use the non-existent property $id. Notices should be fixed not suppressed.