$this->hasMany("id,type", "RobotsParts", "robots_id, robots_type");
Try this:
$this->hasMany(array("id", "type"), "RobotsParts", array("robots_id", "robots_type"));