WICKET-5577 Generation of wicket ids with prefix / suffix

Preserve the logic for not creating markup id with argument createIfDoesNotExist=false

(cherry picked from commit 06660a00ba52e1c530587a3c46e16d2860470158)