Discover the extension ID properly