Adds id attribut to link

Resolves #935