A reference name could be autogenerated when a user wants to cite a reference without a name. Potentially, this would allow to hide all UI elements dealing with reference names. Reference names are one of the most confusing aspects of references on Wikipedia and removing those elements could avoid a lot of confusion. VisualEditor already does this, for similar reasons.
The current solution is a field for the reference name, and if a user wants to cite a reference without a name, s/he will be prompted to enter one.