check for and prevent duplicate pos/counter names