Normalize anchor name format