Check if item id is set before looking for the student.

validate related models only if attributes are not specified.