Add id in diff link

#2712 
#2719