Only insert the named anchor if the id doesn't already exist.