Use getId() method instead of id in Drupal\Core\Language\Language

See https://www.drupal.org/node/2340667