Return a namespace given its prefix.
string $prefix The namespace prefix (eg 'foaf'):
string The namespace URI (eg 'http://xmlns.com/foaf/0.1/')
public static function get($prefix) {
  if (!is_string($prefix) or $prefix === null or $prefix === '') {
    throw new InvalidArgumentException("\$prefix should be a string and cannot be null or empty");
  }
  if (preg_match('/\\W/', $prefix)) {
    throw new InvalidArgumentException("\$prefix should only contain alpha-numeric characters");
  }
  $prefix = strtolower($prefix);
  if (array_key_exists($prefix, self::$namespaces)) {
    return self::$namespaces[$prefix];
  }
  else {
    return null;
  }
}