Fix attachments creation : have all formats share the same id