Use for each, and identify the origin with an instance variable.
You can set the instance variable by uid of the spawner - when enemy spawn boomerang, set origin to enemy.uid.
Then for each boomerang, pick enemy by uid, and do whatever movement actions you have on those two instances only.
Bonus - don't forget to handle what happens if the enemy gets destroyed or is no longer available but the boomerang is still out.