What you need here is the Hinsberg test.
On adding a mixture of aqueous NaOH and benzenesulphonyl chloride (benzene ring with one hydrogen replaced by a sulphonyl chloride group) to a primary amine, a clear solution is formed. Adding excess HCl to neutralize the solution and make it acidic will give an insoluble precipitate.
Secondary amines react with the same reagent to give an insoluble ppt. which does not dissolve in excess HCl.
Tertiary amines do not react with the reagent. However, on adding excess HCl, the unreacted amine will dissolve (the nitrogen's lone pair combines with an acidic ion, H+, to form an amine salt, which is soluble in an acidic medium).
Amines are named according to the number of carbons attached to nitrogen.
Primary, secondary, and tertiary amines are nitrogens bound to one, two and three carbons, respectively.