Code:
foreach pick in gizmo from Specialty
is how a pick can search within its own gizmo. Nested also works, if you're listing all the skills, and then all the specialties for that skill:
Code:
foreach pick in hero from Skill
foreach pick in eachpick.gizmo from Specialty