BUG Set ID field in parent DataObject(fixes #6195)

See http://open.silverstripe.org/ticket/6195

FYI, I haven't tested this or anything, just making a pull request so this bug can be dealt with (either closed or fixed, etc). Relying on Travis to tell me if it breaks things.