Solution 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.