bug #3396: econe-register should accept both ami-ID or ID options as an arg

(cherry picked from commit 7e8693d6d74214cbffefc8ab5883b1390fbb4729)