Remove @id attributes instead of setting them to "" (the empty string).

Hi Jason,

As part of debugging the problem with empty @id attributes for the publication of the core-aam, I "discovered" that what should really happen here is remove the @id attribute.

If that's useful to you, here's a pull request.