I have a soft-sided pistol case for each of my pistols. I like the Walmart Fieldline Tactical cases. They can hold two pistols, have a large exterior pocket, and interior pouches for 8-10 mags. I also have smaller cases that are better for single stack pistols and revolvers.
Anyways, I buy the small plastic colored Harbor Freight dog tags, label each tag with the gun’s name (SW Shield, 92FS, etc) , and attach it to one of the plastic D rings on every case. I then keep the gun in my safe and all of its accessories (magazines, extra barrels, etc) in its case. I store the cases in a plastic storage bin.
Whenever I want to shoot, I grab my pistol from the safe, it’s case from the storage bin, and I’m all set with the exception of ammo, hearing protection, etc. It also helps because I don’t have to determine whether the magazine I pulled from my safe is for my 92FS, P226, etc. I just have to match the case and pistol. This works for me. If you only have 1-3 mags per gun, there might be better solutions. However, most of my pistols have between 3-15 mags.