Don't replace identifiers in wrong places.