write link id