For profileId, we have to pass the Salesforce id of any profile in ChatterAnswersRegistration visualforce page.
Sample Code:
<chatteranswers:registration profileId="00e90000000X5DdAAK"/>
Following SOQL can be used to get the profile id.
SELECT Id, Name
FROM Profile