PRIME AND PRIMARY IDEAL THEORIES IN NONASSOCIATIVE ALGEBRAS