Lifted out Blockly.ComputerCraft.BlockWithSide.prototype.generateSideCode()
for abstraction and future new blocks.