api: refactor to use REPLY_MSG_ID_BASE #define