Add principal name attribute

Resolves #110