Add id in diff link

#2712