Add id to generated div inside #detail