How to change the URL in members profile from {username}/slug to ID on sign up

Looking for this same solution! Can’t get my code to work despite best effort.