public static function findByPid($intPid, array $arrOptions=array())
	{
		$t = static::$strTable;

		// Convert UUIDs to binary
		if (Validator::isStringUuid($intPid))
		{
			$intPid = StringUtil::uuidToBin($intPid);
		}

		return static::findBy(array("$t.pid=UNHEX(?)"), bin2hex($intPid), $arrOptions);
	}