I have encountered (maybe) a python scripting solution to my problem, but as I am not familiar with scripting, I need to ask further for your suggestions using gh.
In simpler terms, I have adjacent cells (can be anything like voronoi, hexagons, triangles, etc) and I would like to assign a name to the shared side based on the relation with their neighbours. (ie. Cells 1, 2, 3, 4 share 5 couples of sides, thus naming the sides accordingly 1-2, 1-4, 2-3, 2-4, 3-4). Free sides can be named sequentially based on the cell name.
The picture attached should help.