   ([context id-or-name & args]
    {:pre  [(or (and (context? context)
                     (resolvable? id-or-name))
-               (and (within-with-context?)
+               (and (has-*context*?)
                     (resolvable? context)))]
     :post [(string? %)]}
    (if (instance? Context context)

  "Finds the ID for the XML item with the given name.  This is simply a
  convenient way of calling (resolve-resource context :id name)."
  ([name]
   {:pre  [(within-with-context?)
           (resolvable? name)]
    :post [(integer? %)]}
   (resolve-id name *context*))

  be an integer ID or a keyword name for the desired layout.  If within a
  with-context form, the context may be omitted."
  ([id-or-name]
   {:pre  [(has-*context*?)
           (resolvable? id-or-name)]
    :post [(instance? android.view.View %)]}
   (get-layout *context* id-or-name))
