… But, IMHO, the best way to do it [alas, the plug-in doesn't seem to work with ID CC 2014 (works with ID CC)] is Power Headers, written by Gabe Harbs, of in-tools.com.
I've tested it with ID CC (Mac/OSX 10.9.3). If you add a grep style to correctly cut the lines of the header (using NJ markers), you have at your disposal a "formidable" tool! [I like it!]