
http://aescripts.com/add-parented-null-to-selected-layers/
Creates a parented null for each of the selected layers. The new null can have a custom name defined in the User Variables section and also has the option of including the name of the layer that is parented to it.