No, there is no setting in calibre that will do this automatically. ids on <body> are perfectly valid. This is a bug in amazons epub intake software. Indeed, while unlikely, wrapping the contents of <body> in an extra <div> can actually change formatting of the text and so really shouldn't be done automatically.
|