The solution to this depends on what exactly you mean by "for instance bba, bbb, bbc, bbd etc". Depending on exacly how prescriptive you are about this sequence, you may or may not be able to use xsl:number.
It's not clear to me whether you are showing your input or your desired output. Perhaps you want to copy the input to the output with the addition of these serial "numbers"? You can do this with an identity transform supplemented by a numbering rule: something like:
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="p">
<p><xsl:number level="any" format="a"/></p>
</xsl:template>
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference