Generates Postgres databases name, user and password based on base attribute