Make custom tag take a UUID attribute, registering a property editor and validating the value at translation time
Specify pageEncoding in page directives