Include expected identity in documentatin output (fixes #239)