Creating Spawn-egg with player's username?

Im trying to make a donation reward atm. If you name a spawn egg, the name carries over to the mob, so i am wonder is there a way to get this name to carry any players username? Similar to how configs allows for %player%? i.e. whoever is holding the egg and summons the entity get their name attributed.
Was this page helpful?