Requires the library mod Collective. 

   This mod is part of The Vanilla Experience.

Name Tag Tweaks makes some changes to the game regarding the name tag item. Entities with a custom name will drop their name tag on death. A command is added to change the name tag's value without an anvil. The mod also adds a crafting recipe.

Configurable: ( how do I configure? )
droppedNameTagbyEntityKeepsNameValue (default = true): If enabled, any name tag that drops on an entity's death will keep its named value.
enableNameTagCommand (default = true): If enabled, adds the /nametag <name> command. Used to change the name value without an anvil.
nameTagCommandReplaceUnderscoresWithSpaces (default = true): If enabled, replaces underscores with spaces when using the /nametag command.

The crafting recipe:

The /nametag <name> command:

And the result:

Here you can see a named pig drop its name tag on death:


You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!