Return the href with given parent and item
parent - the parent obejct of this href
item - the item that the href is reference to