PLD: check for ids