If AccountRolePk is zero, this will return the DefaultAccountRoleId from the Account Application Type.