Note that to access the streetWidth object attribute, you can create a rule attribute with a parameter for the index like this:
attr streetWidth(i) = 0
Then, you can access the street width values by specifying the index as the parameter:
print(streetWidth(0)) // print first street width in list