diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
index 89a3394..7c73fe9 100644
--- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
+++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
@@ -120,7 +120,7 @@
   protected $additionalCurlOptions = array();
 
   /**
-   * The original user, before it was changed to a clean uid = 1 for testing.
+   * The original user, before it was changed to a clean UID = 1 for testing.
    *
    * @var object
    */
@@ -245,7 +245,7 @@ function drupalGetNodeByTitle($title, $reset = FALSE) {
    *   - sticky: NODE_NOT_STICKY.
    *   - type: 'page'.
    *   - langcode: Language::LANGCODE_NOT_SPECIFIED.
-   *   - uid: The currently logged in user, or the user running test.
+   *   - UID: The currently logged in user, or the user running test.
    *   - revision: 1. (Backwards-compatible binary flag indicating whether a
    *     new revision should be created; use 1 to specify a new revision.)
    *
@@ -271,7 +271,7 @@ protected function drupalCreateNode(array $settings = array()) {
       $settings['date'] = format_date($settings['created'], 'custom', 'Y-m-d H:i:s O');
     }
 
-    // If the node's user uid is not specified manually, use the currently
+    // If the node's user UID is not specified manually, use the currently
     // logged in user if available, or else the user running the test.
     if (!isset($settings['uid'])) {
       if ($this->loggedInUser) {
@@ -351,7 +351,7 @@ protected function drupalCreateContentType(array $values = array()) {
    *   @endcode
    *   The following defaults are provided:
    *   - label: Random string.
-   *   - id: Random string.
+   *   - ID: Random string.
    *   - region: 'sidebar_first'.
    *   - theme: The default theme.
    *   - visibility: Empty array.
@@ -3015,7 +3015,8 @@ protected function assertThemeOutput($callback, array $variables = array(), $exp
    * @param $xpath
    *   XPath used to find the field.
    * @param $value
-   *   (optional) Value of the field to assert.
+   *   Value of the field to assert. You may pass in NULL to skip checking the
+   *   actual value, while still checking that the field exists.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3133,7 +3134,8 @@ protected function assertNoFieldByXPath($xpath, $value = NULL, $message = '', $g
    * @param $name
    *   Name of field to assert.
    * @param $value
-   *   Value of the field to assert.
+   *   Value of the field to assert. You may pass in NULL to skip checking the
+   *   actual value, while still checking that the field exists.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3189,12 +3191,13 @@ protected function assertNoFieldByName($name, $value = '', $message = '', $group
   }
 
   /**
-   * Asserts that a field exists with the given id and value.
+   * Asserts that a field exists with the given ID and value.
    *
    * @param $id
-   *   Id of field to assert.
+   *   ID of field to assert.
    * @param $value
-   *   Value of the field to assert.
+   *   Value of the field to assert. You may pass in NULL to skip checking the
+   *   actual value, while still checking that the field exists.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3213,10 +3216,10 @@ protected function assertFieldById($id, $value = '', $message = '', $group = 'Br
   }
 
   /**
-   * Asserts that a field does not exist with the given id and value.
+   * Asserts that a field does not exist with the given ID and value.
    *
    * @param $id
-   *   Id of field to assert.
+   *   ID of field to assert.
    * @param $value
    *   Value of the field to assert.
    * @param $message
@@ -3240,7 +3243,7 @@ protected function assertNoFieldById($id, $value = '', $message = '', $group = '
    * Asserts that a checkbox field in the current page is checked.
    *
    * @param $id
-   *   Id of field to assert.
+   *   ID of field to assert.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3263,7 +3266,7 @@ protected function assertFieldChecked($id, $message = '', $group = 'Browser') {
    * Asserts that a checkbox field in the current page is not checked.
    *
    * @param $id
-   *   Id of field to assert.
+   *   ID of field to assert.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3286,7 +3289,7 @@ protected function assertNoFieldChecked($id, $message = '', $group = 'Browser')
    * Asserts that a select option in the current page exists.
    *
    * @param $id
-   *   Id of select field to assert.
+   *   ID of select field to assert.
    * @param $option
    *   Option to assert.
    * @param $message
@@ -3311,7 +3314,7 @@ protected function assertOption($id, $option, $message = '', $group = 'Browser')
    * Asserts that a select option in the current page does not exist.
    *
    * @param $id
-   *   Id of select field to assert.
+   *   ID of select field to assert.
    * @param $option
    *   Option to assert.
    * @param $message
@@ -3337,7 +3340,7 @@ protected function assertNoOption($id, $option, $message = '', $group = 'Browser
    * Asserts that a select option in the current page is checked.
    *
    * @param $id
-   *   Id of select field to assert.
+   *   ID of select field to assert.
    * @param $option
    *   Option to assert.
    * @param $message
@@ -3364,7 +3367,7 @@ protected function assertOptionSelected($id, $option, $message = '', $group = 'B
    * Asserts that a select option in the current page is not checked.
    *
    * @param $id
-   *   Id of select field to assert.
+   *   ID of select field to assert.
    * @param $option
    *   Option to assert.
    * @param $message
@@ -3386,10 +3389,10 @@ protected function assertNoOptionSelected($id, $option, $message = '', $group =
   }
 
   /**
-   * Asserts that a field exists with the given name or id.
+   * Asserts that a field exists with the given name or ID.
    *
    * @param $field
-   *   Name or id of field to assert.
+   *   Name or ID of field to assert.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3408,10 +3411,10 @@ protected function assertField($field, $message = '', $group = 'Other') {
   }
 
   /**
-   * Asserts that a field does not exist with the given name or id.
+   * Asserts that a field does not exist with the given name or ID.
    *
    * @param $field
-   *   Name or id of field to assert.
+   *   Name or ID of field to assert.
    * @param $message
    *   (optional) A message to display with the assertion. Do not translate
    *   messages: use format_string() to embed variables in the message text, not
@@ -3442,7 +3445,7 @@ protected function assertNoField($field, $message = '', $group = 'Other') {
    *   translate this string. Defaults to 'Other'; most tests do not override
    *   this default.
    * @param $ids_to_skip
-   *   An optional array of ids to skip when checking for duplicates. It is
+   *   An optional array of IDs to skip when checking for duplicates. It is
    *   always a bug to have duplicate HTML IDs, so this parameter is to enable
    *   incremental fixing of core code. Whenever a test passes this parameter,
    *   it should add a "todo" comment above the call to this function explaining
@@ -3538,7 +3541,7 @@ protected function assertNoResponse($code, $message = '', $group = 'Browser') {
    *
    * @param $name
    *   Name of field or message property to assert. Examples: subject, body,
-   *   id, ...
+   *   ID, ...
    * @param $value
    *   Value of the field to assert.
    * @param $message
@@ -3564,7 +3567,7 @@ protected function assertMail($name, $value = '', $message = '', $group = 'E-mai
    * Asserts that the most recently sent e-mail message has the string in it.
    *
    * @param $field_name
-   *   Name of field or message property to assert: subject, body, id, ...
+   *   Name of field or message property to assert: subject, body, ID, ...
    * @param $string
    *   String to search for.
    * @param $email_depth
@@ -3606,7 +3609,7 @@ protected function assertMailString($field_name, $string, $email_depth, $message
    * Asserts that the most recently sent e-mail message has the pattern in it.
    *
    * @param $field_name
-   *   Name of field or message property to assert: subject, body, id, ...
+   *   Name of field or message property to assert: subject, body, ID, ...
    * @param $regex
    *   Pattern to search for.
    * @param $message
