Add name parameter for URLSpec in tuple/list format.

Use the same parameters for URLSpec in list/tuple format and the __init__ method.