What is the proper way to set an asset's upload location using the slugs/ structure path of the entry it is selected from?
To include the handle of the slug, and the path within the structure based on the entry uploaded from in the upload location field I've found the following to work:

{section.handle}/{parent.uri}/{slug}

If there are any gotchas on this let me know and I'll edit this answer to include them.