add a count to the ID tag in new @PG lines to ensure ID is unique