Check for an id when validating items