getPrincipalId