This is really late, but for any future visitors, here's what I do:
(Basically just make a lua file that has variables containing the addresses, the variables are your custom names).
Steps 1-3 are kinda optional, they're just meant to make it easier to copy and paste the addresses.
1. Make a small script to get all the device names and output them to a text file, let's call it "get_addresses.lua"
local component = require("component")
local file = io.open("component_addresses.txt", "w")
for a,b in pairs(component.list()) do
line = a .. " - " .. b .. "\n"
file:write(line