Correctly use the parent_id in TagPresenter

This fixes the TagPresenter so that the slug of the parent tag is 
used to build the tag_id, instead of the primary key.

This also makes the presenter more robust for the scenario where no 
parent exists for the tag.