added validation for id fields in move model