We have a relatively young troop, only 2 years old. We have matching tents for all the scouts. All of our troop gear is labeled right down to the forks and knives, coolers and water jugs. We have four patrols worth of gear, red, blue, green and orange are the assigned colors. Paints pens, shrink tape and colored electrical tape worked wonders for marking. I could go on and on but back to the tents.
Each of our of our tents and all parts are marked using the number system of 04-01, 04-02 etc. 04 = year, 01 = tent number. Besides that, each are marked using the corresponding color (paint pens) marked small and non-obtrusive. Tents 1-5 are blue, 6-10 are red, etc. When there is a repair needed, the tent is retired until fixed. Each tent is stored on a shelf assigned to a specific patrol (the bag is marked on the end so you can see which tents are there or missing). The quartermasters is responsible for making sure any borrowed tents (OA campouts etc) or tents taken home to dry are returned. This has worked well with our current troop and the previous troop where we developed our system.
Our troop has been known to toss out every tent from the trailer, including the ones not used on the current campout and reset up every tent because the part numbers did not match. It's a story the boys pass on to the new scouts for many, many months. It's not a leason soon forgotten.