Renamed output variable name

From constructor to constructorName because it's a string which is
returned and not a function