Adds id attribut to link