What PrincipalID is returned by Principal.fromActor()

See this answer:

For your other question, you can also find the answers in that thread in one of the earlier posts.