<p>In <a href="https://github.com/geany/geany/pull/1142#discussion_r71347103">geany.appdata.xml</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,34 @@
> +<?xml version='1.0' encoding='UTF-8'?>
> +<component>
> +  <id type="desktop">geany.desktop</id>
</pre>
<p>It is recommended to match the .desktop file name, but it should be unique is all that is really required of it. From the doc for the appstream standard,</p>

<blockquote>
<p>The <code><id></code> tag is a short and unique identifier for this component. It must contain only ASCII characters, dots, hyphens and numbers, spaces are not allowed. Specialized metainfo types, such as application or fonts, may apply additional restrictions on the id tag value.<br>
A general pattern for a valid ID tag is to use a reverse URL scheme, consisting of <code><tld>.<vendor>.<product>.<type></code>, e.g. <code>org.kde.gwenview.desktop</code> or <code>com.hugski.ColorHug2.firmware</code>.</p>

<p>Note that the value of this tag must be unique across all distributions. In case it is not, distributors are expected to reject the conflicting components from inclusion into their metadata. </p>
</blockquote>

<p>But I am not really sure if I understood the question completely. Please do clarify.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1142/files/78dc2060b70c9ef4652160f4364692eaa23b01bf#r71347103">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3YXj1zxCjQAsATKNdvE0oIWkdTUks5qXNyYgaJpZM4JPu0w">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxQV5gbG0yNSuwK3-gK0QHzABifMks5qXNyYgaJpZM4JPu0w.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1142/files/78dc2060b70c9ef4652160f4364692eaa23b01bf#r71347103"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>