Getting name of object added...?

I was wonder if there was a way to get the name of an object blender has added…? Would be very helpful, becuase I’m working on something and well although I can just run a script for when everytime the object is added its add the +.nnn and factor in the time in which the object stays alive.

hmm
run a script when the object is added. get the script to store the name of the object in a attrbute (GameLogic.addobject).