Detect duplicate argument names and complain.