It appears it names them by symbology first, and if the symbology isn't named then it defaults to the layer name. However, sometimes a layer will have two lines in it's name and sometimes the first line is blank even though the layer is named. Obviously it is coded logically I just can't figure out what the logic is. Thanks!