When you want to set a persistent attribute in a JS implementation, you set a profile.SOMETHING parameter.
AT creates some profile parameters automatically too. For example, profile.sessionCount, profile.geolocation.country.
Each profile script becomes user.PROFILESCRIPTNAME. When you want to reference a profile script in another profile script or in an experience as a dynamic placeholder, you can do it via user.PROFILESCRIPTNAME