ID of the record can be get directly from $data array