Thank you for this. Didn't try the mod yet, but I'm sure it works fine.
I think, it would also be nice to autorename the unload stations.
1. Prime the rename trigger
1.1 either at the build time if no resources are found in the nearby chunks
1.2 or let the user to activate the trigger (would also come useful if the step 2 misfires for some reason)
2. Rename the station when trigger fires: when the first train arrives at the station.
2.1 if train arrives not empty and is being unloaded - rename it according to the resource that is being unloaded
2.2 if train arrives in whatever fullness state and is being loaded fuel - then this is the refueling station.
Coming to think of it, I think the 2.3 could also exist - if train comes empty and is being loaded with some resource - then this is a loading station, just not necessarily the ore.
Let me know if you want to implement it yourself or if you'd like to look at it together.