Private
find id based on dependency name
name of dependency we want to find the id of
array of item dependencies
find id based on dependency name