You can user the “Get Users” endpoint to convert a name to an ID or vice versa.
A userID and a broadcasterID are the same thing, just different labels are used to describe data/parameters when working with relationships between entities
Not sure what you want from your vague title/post body. Since both are the same.