Needed when linking to itself with an anchor.
In the plugin controller, assign the currentUid template variable to the view:
$this->view->assign('currentUid', $this->configurationManager->getContentObject()->data['uid']);
Then in the view use the currentUid to generate links:
<f:link.action action="form" section="{currentUid}">go!</f:link.action>
Taken from https://stackoverflow.com/a/54663152/282601