Extending previous implementation of ID into core.js, rest.js modules

Required for a special functionality of jostick.js (analog pads command
triggers requires specific ID response to understand that a certain
command was proccessed by the printer)