Get author id in field template - or make an edit button on a node's teaser
Assuming in your use case an Author is a user on your site, I believe you will be able to access to Author's ID using

{{ element['#object'].getOwner.uid.value }}

No need to create a custom field to hold the author's value.