Base strength depends on how available the nitrogen lone pair is. In aniline the lone pair is delocalised into the ring by resonance, so it is less free to take a proton. The anilinium ion has no such resonance, so protonation costs aniline its extra stability. The pKb values show the gap: about 9.4 for aniline against about 4.75 for ammonia.
A: the nitrogen of ammonia is , and the nitrogen of aniline is close to because of conjugation. C: molar mass has nothing to do with basicity. D: the phenyl group withdraws electrons; it is not +I.
Treating aryl groups like alkyl groups. Alkyl groups (+I) make amines more basic than ammonia; an aryl group makes them less basic.