Initialize the href
item - the item that the href is reference to
parent - the parent obejct of this href