*8622* Add custom block ids; fix escape of custom block name in custom block manager

http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8622