Hi,
Modified the template ASP.NET\Common\Admin\Entity.aspx.cs.cst line 119
from
<%= keyType %>.<%= parse %>(contextKey, out key);
to
<% if (!keyType.ToLower().Contains("guid")) {%> <%= keyType %>.<% } %><%= parse %>(contextKey, out key);
Seems to solve the problem at generation stage.