Detect duplicate attachment names