If the neighbor is monitored in SolarWinds there may be other options of being able to pull in the node name by verifying the IP as assigned to that node in SolarWinds itself. However you may be able to try this (I don't have anything with routing neighbors in my home lab so I'm not able to verify..) Not sure if the remote neighbor name is actually something polled or even available. Routing protocols I didn't think share hostnames, however layer2 discovery protocols like lldp, cdp, isdp etc. do. So if the query below doesn't help you, then your only options may be to determine if
1) Is the remote neighbor a monitored SolarWinds node, if so you could join in the node name that way with some crafty swql
and/or
2) If the remote neighbor is running lldp/cdp etc. then you could join in the hostname provided through that protocol
${N=SWQL;M=SELECT DisplayName FROM Orion.Routing.Neighbors WHERE (NeighborIP = '${N=SwisEntity;M=NeighborIP}' AND NeighborIPGUID = '${N=SwisEntity;M=NeighborIPGUID}')}