added getId in main addon class