Tag a multi-span beam

Morning Dynamo`ers,

I want to name one beam with multi-spans, each span is separated by a column, I want to give each beam a mark tag, to be as the following order B1,B1.1…B1.5,any help will be much appreciated

hAVE YOU SEEN THIS THREAD? Rename elements (beams,columns etc.) by X and Y direction