Bug retrieving Wrapper->nid->value()

Use getIdentifier()
debug population breadcrumbs if not linked to study (by the way)