1 Answer
1

Myself is a reflexive pronoun. It’s called that because one of its uses is to reflect the action of a verb back onto the subject, as in ‘I’ve hurt myself’. Yourselves is used in the same way in the sentence you quote from ‘Harry Potter’.

Reflexive pronouns are also used for emphasis, and that is how myself is being used in ‘I myself don't like this idea’ (although that would probably occur as ‘I don't like this idea myself’). That is also how it is being used in the second part of the ‘Harry Potter’ quotation.

Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).