Text this: On purely-maximal ideals with applications