Casts this MemberId as a UserId and retrieves its kotlin.String value. Throws an exception if the MemberId is not a UserId.