First, get a handle on the file container element, then, find the appropriate child element. Finally, add the desired attribute.
callbacks: {
onComplete: function(id, name, response) {
var fileContainer = this.getItemByFileId(id),
$child = $(fileContainer).find("{{CHILD ELEMENT SELECTOR HERE}}");
$child.attr("data-id", response.attach_id);
}
}