Generate custom attributes for entities in Liferay.