Checks for duplicate character id