Motion counterpart of setupID.py to separates elements in different 
motion AOVs